package com.czmh.etc.onlinepubsys.services.impl;

import com.czmh.etc.onlinepubsys.constants.mingchuang.BusinessType;
import com.czmh.etc.onlinepubsys.json.mingchuang.UnionPayJSONResult;
import com.czmh.etc.onlinepubsys.request.mingchuang.UnionPayAddRequest;
import com.czmh.etc.onlinepubsys.request.mingchuang.UnionPayQueryRequest;
import com.czmh.etc.onlinepubsys.services.UnionPayService;
import com.czmh.etc.onlinepubsys.utils.mingchuang.HttpUtil;
import org.springframework.stereotype.Service;

/**
 * Copyright (C), 2017-2020
 * Author: Chenzj
 * Date: 2020/12/8 20:35
 * FileName: UnionPayServiceImpl
 * Description:
 * @author Administrator
 */
@Service
public class UnionPayServiceImpl implements UnionPayService {
    @Override
    public UnionPayJSONResult add(UnionPayAddRequest req) {
        return HttpUtil.postUnionPay(BusinessType.UNIONPAY_ADD, req);
    }

    @Override
    public UnionPayJSONResult apply(UnionPayAddRequest req) {
        return HttpUtil.postUnionPay(BusinessType.UNIONPAY_APPLY, req);
    }

    @Override
    public UnionPayJSONResult query(UnionPayQueryRequest req) {
        return HttpUtil.postUnionPay(BusinessType.UNIONPAY_QUERY, req);
    }

    @Override
    public UnionPayJSONResult querySettlementAccount() {
        return null;
    }

    @Override
    public UnionPayJSONResult updateMember() {
        return null;
    }

    @Override
    public UnionPayJSONResult getSubbranchInfo() {
        return null;
    }

    @Override
    public UnionPayJSONResult uploadCertificate() {
        return null;
    }

    @Override
    public UnionPayJSONResult orderPay() {
        return null;
    }

    @Override
    public UnionPayJSONResult sendMsg() {
        return null;
    }

    @Override
    public UnionPayJSONResult withdrawal() {
        return null;
    }

    @Override
    public UnionPayJSONResult insideAccount() {
        return null;
    }

    @Override
    public UnionPayJSONResult transferAndWithdrawal() {
        return null;
    }
}
